<div class="conferencereports form">
	<script>
    $(function() {
        $( ".datepicker" ).datepicker({ dateFormat: "yy-mm-dd" });
    });
    </script>
<?php echo $this->Form->create('Conferencereport'); ?>
	<fieldset>
		<legend><?php echo __('Edit Conferencereport'); ?></legend>
		<?php 		
			echo $this->Form->input('id');
		?>		
		<?php 

echo $this->Form->hidden('with_students');
?>

<table width="100%" class="invisibletable">

  <tr>
    <td width="15%" align="right">Тип конференции</td>
    <td width="2%" align="right"><font color="red">*</font></td>
    <td width="45%"><?php  echo $this->Form->input('conferencetype_id', array('label' => '', 'empty' => 'Выберите тип конференции')); ?></td>
  </tr>
  <tr>
    <td width="15%" align="right">Уровень конференции</td>
    <td width="2%" align="right"><font color="red">*</font></td>
    <td width="45%"><?php  echo $this->Form->input('conferenceleveltype_id', array('label' => '', 'empty' => 'Выберите уровень конференции')); ?></td>
  </tr>
  <tr>
    <td width="15%" align="right">Название конференции</td>
    <td width="2%" align="right"><font color="red">*</font></td>
    <td width="45%"><?php  echo $this->Form->input('conference_name', array('label' => '')); ?></td>
  </tr>
  <tr>
    <td align="right">Начало конференции</td>
    <td align="right"><font color="red">*</font></td>
    <td><?php  echo $this->Form->input('begindate', array('label' => '', 'class' => 'datepicker', 'type'=>'text', 'size' => 10)); ?></td>
  </tr>
  <tr>
    <td align="right">Окончание конференции</td>
    <td align="right"><font color="red">*</font></td>
    <td><?php  echo $this->Form->input('enddate', array('label' => '', 'class' => 'datepicker', 'type'=>'text', 'size' => 10)); ?></td>
  </tr>
  <tr>
    <td align="right">Место проведения конференции</td>
    <td align="right"><font color="red">*</font></td>
    <td><?php  echo $this->Form->input('conference_place', array('label' => '')); ?></td>
  </tr>
  <tr>
    <td align="right">Тип доклада</td>
    <td align="right"><font color="red">*</font></td>
    <td><?php  echo $this->Form->input('conferencereporttype_id', array('label' => '', 'empty' => 'Выберите тип доклада')); ?></td>
  </tr>    
  <tr>
    <td align="right">Название доклада</td>
    <td align="right"><font color="red">*</font></td>
    <td><?php  echo $this->Form->input('report_name', array('label' => '')); ?></td>
  </tr>
  </table>
  	<?php 
		echo $this->Form->hidden('recstatus_id', array('value' => '1'));
		echo $this->Form->hidden('moderator_comment');
	?>
	</fieldset>
	<br />
<?php echo $this->Form->end(__('Submit')); ?>		
</div>

